\section{src/common.h \-File \-Reference}
\label{common_8h}\index{src/common.\-h@{src/common.\-h}}
\-This graph shows which files directly or indirectly include this file\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{common_8h__dep__incl}
\end{center}
\end{figure}
\subsection*{\-Data \-Structures}
\begin{DoxyCompactItemize}
\item 
struct {\bf \-\_\-addresing\-And\-Type}
\begin{DoxyCompactList}\small\item\em \-Stores the attributes that specifies the addressing method. \end{DoxyCompactList}\item 
struct {\bf \-\_\-prefix}
\begin{DoxyCompactList}\small\item\em \-Structure attributes associated with a prefix. \end{DoxyCompactList}\item 
union {\bf \-\_\-opcode}
\begin{DoxyCompactList}\small\item\em \-Stores the attributes that an opcode have. \end{DoxyCompactList}\item 
union {\bf \-\_\-mod\-\_\-reg}
\begin{DoxyCompactList}\small\item\em \-Stores \-Mod\-Reg record attributes you set the registers used as operands. \end{DoxyCompactList}\item 
struct {\bf \-\_\-\-Machine\-Inst\-Format}
\begin{DoxyCompactList}\small\item\em \-Machine \-Instruction \-Format. \end{DoxyCompactList}\item 
struct {\bf \-O\-P\-C\-O\-D\-E\-\_\-\-P\-R\-O\-P\-E\-R\-T\-I\-E\-S}
\begin{DoxyCompactList}\small\item\em \-Properties of an operation code.. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{\-Defines}
\begin{DoxyCompactItemize}
\item 
\#define {\bf \-U\-I\-N\-T8}~unsigned char
\begin{DoxyCompactList}\small\item\em \-One byte. \end{DoxyCompactList}\item 
\#define {\bf \-U\-I\-N\-T32}~unsigned int
\begin{DoxyCompactList}\small\item\em \-One instruction. \end{DoxyCompactList}\item 
\#define {\bf \-I\-N\-T32}~int
\begin{DoxyCompactList}\small\item\em \-Stores 32 bits. \end{DoxyCompactList}\item 
\#define {\bf \-I\-N\-T8}~char
\begin{DoxyCompactList}\small\item\em \-Stores 8 bits. \end{DoxyCompactList}\item 
\#define {\bf \-B\-Y\-T\-E}(x)~(x$\ast$8)
\begin{DoxyCompactList}\small\item\em \-One byte. \end{DoxyCompactList}\item 
\#define {\bf \-B\-I\-T2\-B\-Y\-T\-E}(x)~(x/8)+(x\%8?1\-:0)
\begin{DoxyCompactList}\small\item\em \-One byte in binary. \end{DoxyCompactList}\item 
\#define {\bf \-N\-U\-M\-\_\-\-O\-P\-P\-\_\-\-S\-U\-P\-P\-O\-R\-T\-E\-D}~2
\begin{DoxyCompactList}\small\item\em supported number of operators \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{\-Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct {\bf \-\_\-addresing\-And\-Type} {\bf \-A\-D\-D\-R\-E\-S\-S\-I\-N\-G\-\_\-\-T\-Y\-P\-E}
\begin{DoxyCompactList}\small\item\em \-Stores the attributes that specifies the addressing method. \end{DoxyCompactList}\item 
typedef struct {\bf \-\_\-prefix} {\bf \-P\-R\-E\-F\-I\-X}
\begin{DoxyCompactList}\small\item\em \-Structure attributes associated with a prefix. \end{DoxyCompactList}\item 
typedef union {\bf \-\_\-opcode} {\bf \-O\-P\-C\-O\-D\-E}
\begin{DoxyCompactList}\small\item\em \-Stores the attributes that an opcode have. \end{DoxyCompactList}\item 
typedef union {\bf \-\_\-mod\-\_\-reg} {\bf \-M\-O\-D\-\_\-\-R\-E\-G\-\_\-\-R\-M}
\begin{DoxyCompactList}\small\item\em \-Stores \-Mod\-Reg record attributes you set the registers used as operands. \end{DoxyCompactList}\item 
typedef struct {\bf \-\_\-\-Machine\-Inst\-Format} {\bf \-M\-A\-C\-H\-I\-N\-E\-\_\-\-I\-N\-S\-T\-R\-U\-C\-T\-I\-O\-N}
\begin{DoxyCompactList}\small\item\em \-Machine \-Instruction \-Format. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{\-Define \-Documentation}
\index{common.\-h@{common.\-h}!\-B\-I\-T2\-B\-Y\-T\-E@{\-B\-I\-T2\-B\-Y\-T\-E}}
\index{\-B\-I\-T2\-B\-Y\-T\-E@{\-B\-I\-T2\-B\-Y\-T\-E}!common.h@{common.\-h}}
\subsubsection[{\-B\-I\-T2\-B\-Y\-T\-E}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf \-B\-I\-T2\-B\-Y\-T\-E}(
\begin{DoxyParamCaption}
\item[{}]{x}
\end{DoxyParamCaption}
)~(x/8)+(x\%8?1\-:0)}\label{common_8h_a4aa5e2926d1ef8bcce281e0eab30025a}


\-One byte in binary. 



\-Definition at line 20 of file common.\-h.

\index{common.\-h@{common.\-h}!\-B\-Y\-T\-E@{\-B\-Y\-T\-E}}
\index{\-B\-Y\-T\-E@{\-B\-Y\-T\-E}!common.h@{common.\-h}}
\subsubsection[{\-B\-Y\-T\-E}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf \-B\-Y\-T\-E}(
\begin{DoxyParamCaption}
\item[{}]{x}
\end{DoxyParamCaption}
)~(x$\ast$8)}\label{common_8h_a35962d72640f5d7417802c89b4eb5688}


\-One byte. 



\-Definition at line 19 of file common.\-h.

\index{common.\-h@{common.\-h}!\-I\-N\-T32@{\-I\-N\-T32}}
\index{\-I\-N\-T32@{\-I\-N\-T32}!common.h@{common.\-h}}
\subsubsection[{\-I\-N\-T32}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf \-I\-N\-T32}~int}\label{common_8h_aac92c5ec332dafe0abb24688dad1b795}


\-Stores 32 bits. 



\-Definition at line 16 of file common.\-h.

\index{common.\-h@{common.\-h}!\-I\-N\-T8@{\-I\-N\-T8}}
\index{\-I\-N\-T8@{\-I\-N\-T8}!common.h@{common.\-h}}
\subsubsection[{\-I\-N\-T8}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf \-I\-N\-T8}~char}\label{common_8h_a7e125472d65b57f10905accbed140b99}


\-Stores 8 bits. 



\-Definition at line 17 of file common.\-h.

\index{common.\-h@{common.\-h}!\-N\-U\-M\-\_\-\-O\-P\-P\-\_\-\-S\-U\-P\-P\-O\-R\-T\-E\-D@{\-N\-U\-M\-\_\-\-O\-P\-P\-\_\-\-S\-U\-P\-P\-O\-R\-T\-E\-D}}
\index{\-N\-U\-M\-\_\-\-O\-P\-P\-\_\-\-S\-U\-P\-P\-O\-R\-T\-E\-D@{\-N\-U\-M\-\_\-\-O\-P\-P\-\_\-\-S\-U\-P\-P\-O\-R\-T\-E\-D}!common.h@{common.\-h}}
\subsubsection[{\-N\-U\-M\-\_\-\-O\-P\-P\-\_\-\-S\-U\-P\-P\-O\-R\-T\-E\-D}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf \-N\-U\-M\-\_\-\-O\-P\-P\-\_\-\-S\-U\-P\-P\-O\-R\-T\-E\-D}~2}\label{common_8h_a22613dfae1a9dc932b6a4513895411c9}


supported number of operators 



\-Definition at line 62 of file common.\-h.

\index{common.\-h@{common.\-h}!\-U\-I\-N\-T32@{\-U\-I\-N\-T32}}
\index{\-U\-I\-N\-T32@{\-U\-I\-N\-T32}!common.h@{common.\-h}}
\subsubsection[{\-U\-I\-N\-T32}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf \-U\-I\-N\-T32}~unsigned int}\label{common_8h_a69afa2e50b905f4eab1f2df8a3fd9f23}


\-One instruction. 



\-Definition at line 15 of file common.\-h.

\index{common.\-h@{common.\-h}!\-U\-I\-N\-T8@{\-U\-I\-N\-T8}}
\index{\-U\-I\-N\-T8@{\-U\-I\-N\-T8}!common.h@{common.\-h}}
\subsubsection[{\-U\-I\-N\-T8}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf \-U\-I\-N\-T8}~unsigned char}\label{common_8h_ad8ce12d83f204245685f98caf9d03944}


\-One byte. 



\-Definition at line 14 of file common.\-h.



\subsection{\-Typedef \-Documentation}
\index{common.\-h@{common.\-h}!\-A\-D\-D\-R\-E\-S\-S\-I\-N\-G\-\_\-\-T\-Y\-P\-E@{\-A\-D\-D\-R\-E\-S\-S\-I\-N\-G\-\_\-\-T\-Y\-P\-E}}
\index{\-A\-D\-D\-R\-E\-S\-S\-I\-N\-G\-\_\-\-T\-Y\-P\-E@{\-A\-D\-D\-R\-E\-S\-S\-I\-N\-G\-\_\-\-T\-Y\-P\-E}!common.h@{common.\-h}}
\subsubsection[{\-A\-D\-D\-R\-E\-S\-S\-I\-N\-G\-\_\-\-T\-Y\-P\-E}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf \-\_\-addresing\-And\-Type}  {\bf \-A\-D\-D\-R\-E\-S\-S\-I\-N\-G\-\_\-\-T\-Y\-P\-E}}\label{common_8h_ac9bde6cb5ff196ce2027a47a647b49da}


\-Stores the attributes that specifies the addressing method. 

\index{common.\-h@{common.\-h}!\-M\-A\-C\-H\-I\-N\-E\-\_\-\-I\-N\-S\-T\-R\-U\-C\-T\-I\-O\-N@{\-M\-A\-C\-H\-I\-N\-E\-\_\-\-I\-N\-S\-T\-R\-U\-C\-T\-I\-O\-N}}
\index{\-M\-A\-C\-H\-I\-N\-E\-\_\-\-I\-N\-S\-T\-R\-U\-C\-T\-I\-O\-N@{\-M\-A\-C\-H\-I\-N\-E\-\_\-\-I\-N\-S\-T\-R\-U\-C\-T\-I\-O\-N}!common.h@{common.\-h}}
\subsubsection[{\-M\-A\-C\-H\-I\-N\-E\-\_\-\-I\-N\-S\-T\-R\-U\-C\-T\-I\-O\-N}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf \-\_\-\-Machine\-Inst\-Format}  {\bf \-M\-A\-C\-H\-I\-N\-E\-\_\-\-I\-N\-S\-T\-R\-U\-C\-T\-I\-O\-N}}\label{common_8h_a66e747e261292e6aa8b1428bbc5957f7}


\-Machine \-Instruction \-Format. 

\index{common.\-h@{common.\-h}!\-M\-O\-D\-\_\-\-R\-E\-G\-\_\-\-R\-M@{\-M\-O\-D\-\_\-\-R\-E\-G\-\_\-\-R\-M}}
\index{\-M\-O\-D\-\_\-\-R\-E\-G\-\_\-\-R\-M@{\-M\-O\-D\-\_\-\-R\-E\-G\-\_\-\-R\-M}!common.h@{common.\-h}}
\subsubsection[{\-M\-O\-D\-\_\-\-R\-E\-G\-\_\-\-R\-M}]{\setlength{\rightskip}{0pt plus 5cm}typedef union {\bf \-\_\-mod\-\_\-reg}  {\bf \-M\-O\-D\-\_\-\-R\-E\-G\-\_\-\-R\-M}}\label{common_8h_a52e00366c03f672b7fe916eec1f2003c}


\-Stores \-Mod\-Reg record attributes you set the registers used as operands. 

\index{common.\-h@{common.\-h}!\-O\-P\-C\-O\-D\-E@{\-O\-P\-C\-O\-D\-E}}
\index{\-O\-P\-C\-O\-D\-E@{\-O\-P\-C\-O\-D\-E}!common.h@{common.\-h}}
\subsubsection[{\-O\-P\-C\-O\-D\-E}]{\setlength{\rightskip}{0pt plus 5cm}typedef union {\bf \-\_\-opcode}  {\bf \-O\-P\-C\-O\-D\-E}}\label{common_8h_a290890ba522b65bd476d39f9e3eb2268}


\-Stores the attributes that an opcode have. 

\index{common.\-h@{common.\-h}!\-P\-R\-E\-F\-I\-X@{\-P\-R\-E\-F\-I\-X}}
\index{\-P\-R\-E\-F\-I\-X@{\-P\-R\-E\-F\-I\-X}!common.h@{common.\-h}}
\subsubsection[{\-P\-R\-E\-F\-I\-X}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf \-\_\-prefix}  {\bf \-P\-R\-E\-F\-I\-X}}\label{common_8h_afdc67d28e3a783fcf6783d0a72ad54cb}


\-Structure attributes associated with a prefix. 

